﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pollogger.Library
{
	[Serializable]
	public class LogFile : LogSource
	{
		private System.IO.FileInfo _fileInfo;

		private LogWriter _writer;

		public LogFile(LogWriter writer, System.IO.FileInfo fileInfo)
		{
			_writer = writer;
			_fileInfo = fileInfo;
		}

		public LogWriter Writer
		{
			get { return _writer; }
			set { _writer = value; }
		}
		public System.IO.FileInfo FileInfo
		{
			get { return _fileInfo; }
		}

		public object GetInfo()
		{
			return FileInfo;
		}
	}
}
